﻿using System.Collections.Generic;
using yiCommerce.Models.Comments;

namespace yiCommerce.Models.Statuses
{
    public class StatusModel
    {
        public IList<string> Tags { get; set; }
        public string PosterLogoUrl { get; set; }
        public string Text{ get; set; }
        public IList<StatusPictureModel> Pics { get; set; }
        public bool IsProduct { get; set; }

        public ProductStatusInfo ProductStatusInfo { get; set; }

        public int Id { get; set; }
        public IList<CommentModel> CommentModels { get; set; }

        public int Point { get; set; }
    }


    public class ProductVariantInfo
    {
        public int ProductVariantId { get; set; }
        public int ProductStock { get; set; }
        public decimal ProductPrice { get; set; }
    }

    public class ProductStatusInfo:StatusModel
    {
        public int ProductId { get; set; }
        public IList<ProductVariantInfo> PvInfos { get; set; }
    }
}